{% extends "generalTemplate.html" %}

{% block title %}{% if account %}Activation successful{% else %}Activation failed :({% endif %}{% endblock %}

{% block container %}
<div id=col2>
{% if account %}
  <h1>Activation successful</h1>
  <br/><br />
  <p>Congratulations, {{ account.username }}. Your account has been created successfully.  You may now <a href="/account/login">login</a></p>
{% else %}
  <h1>Activation failed :(</h1>
  <br/><br />
  <p>Sorry, there were problems with the activation. Please make sure that the activation link was opened correctly in your Browser. Please be also aware that activation links expire automatically.</p>
</div>
{% endif %}
{% endblock container %}
